* make-dist: Check for .elc files with no corresponding .el file.
authorJim Blandy <jimb@redhat.com>
Wed, 26 May 1993 22:19:04 +0000 (22:19 +0000)
committerJim Blandy <jimb@redhat.com>
Wed, 26 May 1993 22:19:04 +0000 (22:19 +0000)
* make-dist: Check for .elc files with no corresponding .el file.

make-dist

index ac2bd91b0f1370188c26f073ad88d110cf094916..f0c8805bc83dc37ac3c3981bce81addbf522438c 100755 (executable)
--- a/make-dist
+++ b/make-dist
@@ -87,6 +87,11 @@ them, and try again." >&2
   exit 1
 fi
 
+### Check for .elc files with no corresponding .el file.
+ls -1 lisp/*.el | sed 's/\.el$/.elc/' > /tmp/el
+ls -1 lisp/*.elc > /tmp/elc
+comm -13 /tmp/el /tmp/elc
+
 echo "Creating staging directory: \`${tempparent}'"
 mkdir ${tempparent}
 emacsname="emacs-${version}${new_extension}"